package com.hzqdn.monsterbase.service.interview;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzqdn.monstermodel.dto.mockinterview.MockInterviewAddRequest;
import com.hzqdn.monstermodel.dto.mockinterview.MockInterviewEventRequest;
import com.hzqdn.monstermodel.dto.mockinterview.MockInterviewQueryRequest;
import com.hzqdn.monstermodel.entity.MockInterview;
import com.hzqdn.monstermodel.entity.User;


public interface MockInterviewService extends IService<MockInterview> {

    /**
     * 创建模拟面试
     */
    Long createMockInterview(MockInterviewAddRequest mockInterviewAddRequest, User loginUser);

    /**
     * 构造查询条件
     */
    QueryWrapper<MockInterview> getQueryWrapper(MockInterviewQueryRequest mockInterviewQueryRequest);

    /**
     * 处理模拟面试事件
     */
    String handleMockInterviewEvent(MockInterviewEventRequest mockInterviewEventRequest, User loginUser);
}
